<template>
  <div>
    input
    <!--<myInput v-model="str"></myInput>-->
    <myInput v-bind:value="str" v-on:input="str = arguments[0]"></myInput>
    {{str}}
  </div>
</template>

<script>
import myInput from './input.vue'
export default {
  data () {
    return {  
      str: ''
    }
  },
  components: {
    myInput
  }
}
</script>
